home *** CD-ROM | disk | FTP | other *** search
- LBOUND(3I) Last changed: 1-6-98
-
-
- NNAAMMEE
- LLBBOOUUNNDD - Returns all the lower bounds or a specified lower bound of an
- array
-
- SSYYNNOOPPSSIISS
- LLBBOOUUNNDD (([AARRRRAAYY==]_a_r_r_a_y [,,[DDIIMM==]_d_i_m]))
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- UNICOS, UNICOS/mk, and IRIX systems
-
- SSTTAANNDDAARRDDSS
- Fortran 90
-
- DDEESSCCRRIIPPTTIIOONN
- The LLBBOOUUNNDD intrinsic function returns all the lower bounds or a
- specified lower bound of an array. It accepts the following
- arguments:
-
- _a_r_r_a_y May be of any type. It must not be scalar. It must not be
- a pointer that is disassociated or an allocatable array that
- is not allocated.
-
- _d_i_m Must be scalar and of type integer with a value in the range
- 1 <= _d_i_m <= _n, where _n is the rank of _a_r_r_a_y. The
- corresponding actual argument must not be an optional dummy
- argument.
-
- LLBBOOUUNNDD is an inquiry function. The name of this intrinsic cannot be
- passed as an argument.
-
- RREETTUURRNN VVAALLUUEESS
- The result is of type default integer. It is scalar if _d_i_m is
- present; otherwise, the result is an array of rank 1 and size _n, where
- _n is the rank of _a_r_r_a_y.
-
- For an array section or for an array expression, other than a whole
- array or array structure component, LLBBOOUUNNDD (_a_r_r_a_y, _d_i_m) has the value
- 1; otherwise, it has a value equal to the lower bound for subscript
- _d_i_m of _a_r_r_a_y if dimension _d_i_m of _a_r_r_a_y does not have size 0 and has
- the value 1 if dimension _d_i_m has size 0.
-
- LLBBOOUUNNDD (_a_r_r_a_y) has a value whose _ith component is equal to LLBBOOUUNNDD
- (_a_r_r_a_y, _i), for _i = 1, 2, ..., _n, where _n is the rank of _a_r_r_a_y.
-
- EEXXAAMMPPLLEESS
- If AA is declared by the statement RREEAALL AA((22::33,, 77::1100)), LLBBOOUUNNDD((AA)) is
- [2,7] and LLBBOOUUNNDD((AA,,DDIIMM==22)) is 7.
-
- SSEEEE AALLSSOO
- _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, publication SR-2138, for the
- printed version of this man page.
-
-